package com.zis.wechat.service;

import com.zis.starter.core.ResponseEntity;
import com.zis.starter.core.SearchParams;
import com.zis.wechat.model.TAccount;
import org.beetl.sql.core.engine.PageQuery;

import java.util.Map;

public interface ITAccountInter {

    ResponseEntity insert(TAccount account) throws Exception;

    ResponseEntity update(TAccount account) throws Exception;

    ResponseEntity delete(String accountId) throws Exception;

    ResponseEntity selectById(String accountId) throws Exception;

    PageQuery<TAccount> findByPage(SearchParams params) throws Exception;

    ResponseEntity findByCondition(Map params) throws Exception;

    ResponseEntity setCacheConfig() throws Exception;
}
